const log = t => getApp().globalData.logger.log('[lookDetail]' + t)

Component({
  mixins: [],
  data: {
    productsScrollViewHeight: 350
  },
  props: {
    look: {}
  },
  didMount() {
    log(`[didMount]${JSON.stringify({ look: this.props.look })}`)
    const systemInfo = my.getSystemInfoSync()
    this.setData({
      productsScrollViewHeight: systemInfo.windowHeight * 0.4
    })
  },
  didUpdate() {},
  didUnmount() {},
  methods: {
    onHideLookDetail: function() {
      this.$page.onHideLookDetail()
    },
    stopPropagation: function(e) {
      e.stopPropagation()
    }
  },
});
